package follow;

public class Person {

    private int value;

    public Person(int value) {
        this.value = value;
    }

    public int compare(Person person) {
        return person.value;
    }

    public static void main(String[] args) {

        Person p1 = new Person(10);
        Person p2 = new Person(20);
        System.out.println("");
        System.out.println("Hello world");
    }


}
